﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin_cms/admin_master.master"
    AutoEventWireup="true" CodeFile="admin_add_vemaybay.aspx.cs" Inherits="hydevmanager_admin_add_news" %>

<%@ Register Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" TagPrefix="FCK" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <%--<asp:ScriptManager ID="ScriptManager1" runat="server" />
    <asp:UpdatePanel runat="server" ID="udp1">
        <ContentTemplate>--%>
    <script type="text/javascript">
       
    </script>
    <style type="text/css">
        .cssfck
        {
            background-color: Red;
        }
    </style>
    <div class="all_khung_form1">
        <div class="top_khung_form1">
            <h5>Quản lý vé máy bay</h5>
        </div>
        <div class="khung_form1">
            <h3>Tên chuyến bay:
            </h3>
            <asp:TextBox runat="server" ID="txt_tentour" Width="200px" EnableViewState="false"
                class="txtform"></asp:TextBox>
            <asp:RequiredFieldValidator runat="server" ID="controtour" ControlToValidate="txt_tentour"
                SetFocusOnError="true" Text="*" Display="Dynamic" ToolTip="Nhập vào tên tour" />
        </div>
        <div class="khung_form1">
            <h3>Nhóm chuyến bay:
            </h3>
            <asp:DropDownList runat="server" ID="drMenu" Height="28px" Width="335px" class="txtform"
                AutoPostBack="true" Enabled="true" OnSelectedIndexChanged="Dr_select_Change">
            </asp:DropDownList>
        </div>
        <div class="khung_form1">
            <h3>Điểm xuất phát:
            </h3>
            <asp:DropDownList runat="server" Width="205px" ID="drxuatphat" class="txtform">
                <asp:ListItem Text="Hà Nội" Value="1"></asp:ListItem>
                <asp:ListItem Text="Tp Hồ Chí Minh" Value="2"></asp:ListItem>
                <asp:ListItem Text="Đà Nẵng" Value="3"></asp:ListItem>
            </asp:DropDownList>
        </div>
        <div class="khung_form1">
            <h3>Điểm đến:
            </h3>
            <asp:DropDownList runat="server" ID="drdiemden" Width="205px" class="txtform">
            </asp:DropDownList>
        </div>
        <div class="khung_form1">
            <h3>Giá tour(Nhập số):
            </h3>
            <asp:TextBox runat="server" ID="txt_giatour" Width="200px" EnableViewState="false"
                class="txtform"></asp:TextBox>
        </div>
        <div class="khung_form1">
            <h3>Khứ hồi:
            </h3>
            <input runat="server" id="txtkhuhoi" width="200px" placeholder="Có/Không"
                class="txtform"></input>
        </div>
        <div class="khung_form1">
            <h3>Hãng bay:
            </h3>
            <asp:DropDownList runat="server" ID="drhangbay" Width="205px" class="txtform">
            </asp:DropDownList>
        </div>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txt_giatour"
            ErrorMessage="Please Enter Only Numbers" Style="z-index: 101; left: 813px; font-size: 9px; position: absolute; top: 305px"
            ValidationExpression="^\d+$" SetFocusOnError="true"></asp:RegularExpressionValidator>
        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator6" ControlToValidate="txt_giatour"
            SetFocusOnError="true" Text="*" Display="None" />
        <div class="khung_form1">
            <h3>Hot line:
            </h3>
            <asp:TextBox runat="server" ID="txt_hotline" Width="200px" EnableViewState="false"
                class="txtform"></asp:TextBox>
        </div>
        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator7" ControlToValidate="txt_hotline"
            SetFocusOnError="true" Text="*" Display="None" />
        <div class="khung_form1">
            <h3>Chọn ảnh đại diện tour:
            </h3>
            <asp:FileUpload ID="fileupload1" runat="server" />
            <%-- <input type="file" id="fileupload" runat="server" class="txtform" />--%>
            <%--<asp:FileUpload ID="fileupload" class="txtform" runat="server" />--%>
        </div>
        <%--<div class="khung_form1">
            <%=load_anh() %>
        </div>--%>
        <div style="float: left; margin-left: 45px; width: 100%; overflow: hidden;">
            <h3 style="float: left; font-size: 12px; font-weight: normal; line-height: 25px; width: 150px;">Nội dung chuyến bay:
            </h3>
            <br />
            <%--<CKEditor:CKEditorControl ID="CKE" runat="server" Width="910px" Height="600px" ResizeEnabled="false"
                BasePath="ckeditor/">
            </CKEditor:CKEditorControl>--%>
            <%--<FCK:FCKeditor ToolbarSet="Basic" runat="server" ID="fckeditornews" Width="910px" Height="600px"
                        BasePath="~/fckeditor/"></FCK:FCKeditor>--%>
            <FCK:FCKeditor runat="server" ID="fcknew" EditorAreaCSS="cssfck" Width="1037px" Height="500px"
                BasePath="~/fckeditor/">
            </FCK:FCKeditor>
        </div>
        <div class="khung_form1">
            <asp:Button runat="server" ID="btninsert" Text="Thêm vé" OnClick="luu_click" />
            <asp:Button runat="server" ID="btnupdate" Text="Sửa vé" OnClick="update_click"
                Enabled="false" />
            <asp:Button runat="server" ID="Button1" Text="Quay lại" OnClick="update_click_quay" />
        </div>
        <%--</ContentTemplate>
    </asp:UpdatePanel>--%>
        <%--<script type="text/javascript">
        $(window).load(
    function() {
        $("#<%=fileupload.ClientID %>").fileUpload({
            'uploader': 'style/uploadify/scripts/uploader.swf',
            'cancelImg': 'style/uploadify/images/cancel.png',
            'buttonText': 'Browse Files',
            'script': 'style/uploadify/Upload.ashx',
            'fileDesc': 'Image Files',
            'fileExt': '*.jpg;*.jpeg;*.gif;*.png',
            'multi': true,
            'auto': true
        });
    }
    );
        </script>--%>
    </div>
</asp:Content>
